import request from '@/utils/request'
/**
 * 一级类目的id参数
 * @param {*} id
 */
export const reqFindCategory = (id) => request('/category', 'get', { id: id })

/**
 * 根据 id 获取商品详情数据
 * @param {*} id
 */
export const reqFindGoods = (id) => request('/goods', 'get', { id: id })
